# range(开始, 结束, 步长)
# 1. 如果不写开始，默认从0开始
# 2. 如果不写步长，默认为1

print(range(1, 10, 1)) # range(1, 10)
for i in range(1, 10, 1):
    print(i)

for i in range(1, 10):
    print(i)

for i in range(1, 10, 2):
    print(i)

for i in range(10):
    print(i)